﻿#include "pmsgame.h"
#include "ui_pmsgame.h"

PMSGame::PMSGame(QWidget *parent) :
    QWidget(parent),
    ui(new Ui::PMSGame)
{
    ui->setupUi(this);

    setWindowTitle(QStringLiteral("PMS游戏"));



    connect(ui->btn_test, SIGNAL(clicked(bool)), this, SLOT(btn_test_slot()));


}

void PMSGame::btn_test_slot() {

    TestGame* testGameW = new TestGame();

    testGameW->show();

    this->close();

}

PMSGame::~PMSGame()
{
    delete ui;
}
